package top.mccat.common.service;

import top.mccat.common.core.domain.bk.BkCustomer;

import java.util.List;

/**
 * 供货商Service接口
 * 
 * @author raven
 * @date 2022-11-06
 */
public interface IBkCustomerService 
{
    /**
     * 查询供货商
     * 
     * @param id 供货商主键
     * @return 供货商
     */
    public BkCustomer selectBkCustomerById(Integer id);

    /**
     * 查询供货商列表
     * 
     * @param bkCustomer 供货商
     * @return 供货商集合
     */
    public List<BkCustomer> selectBkCustomerList(BkCustomer bkCustomer);

    /**
     * 新增供货商
     * 
     * @param bkCustomer 供货商
     * @return 结果
     */
    public int insertBkCustomer(BkCustomer bkCustomer);

    /**
     * 修改供货商
     * 
     * @param bkCustomer 供货商
     * @return 结果
     */
    public int updateBkCustomer(BkCustomer bkCustomer);

    /**
     * 批量删除供货商
     * 
     * @param ids 需要删除的供货商主键集合
     * @return 结果
     */
    public int deleteBkCustomerByIds(Integer[] ids);

    /**
     * 删除供货商信息
     * 
     * @param id 供货商主键
     * @return 结果
     */
    public int deleteBkCustomerById(Integer id);
}
